import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { STask } from "./STask";
type int = number;
//class SNpcTask
    
    export  class SNpcTask
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.status);
            this.task.__write(arg1);
            arg1.writeInt(this.talent);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.status = arg1.readInt();
            this.task = new STask();
            this.task.__read(arg1);
            this.talent = arg1.readInt();
            return;
        }

        public /* var */status: int;

        public /* var */task: STask;

        public /* var */talent: int;
    }
